<template>
  <p>当前语言是：{{lang}}</p>
  <div>首页</div>
  
</template>

<script lang="ts" setup>
import { computed } from "@vue/reactivity";
import {useStore} from "vuex";

const $store = useStore();
const lang = computed(()=>$store.state.i18n.lang);

</script>

<style>

</style>